package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.Score;
import com.example.vo.ScoreQueryVO;
import com.example.vo.ScoreResultVO;

public interface ScoreService {
    // 基础CRUD
    boolean saveScore(Score score);
    boolean updateScore(Score score);
    boolean deleteScore(Long id);
    Score getScoreById(Long id);

    // 联表分页查询
    IPage<ScoreResultVO> queryScores(Page<?> page, ScoreQueryVO queryVO);
}
